var speed=40;
var tabLeft=document.getElementById("demoLeft");
var tab1=document.getElementById("demo1");
var tab2=document.getElementById("demo2");
tab2.innerHTML=tab1.innerHTML;
function Marquee1(){
if(tabLeft.scrollLeft>=tab2.offsetWidth)
tabLeft.scrollLeft-=tab1.offsetWidth
else{
tabLeft.scrollLeft++;
}
}
var MyMar=setInterval(Marquee1,speed);
tabLeft.onmouseover=function() {clearInterval(MyMar)};
tabLeft.onmouseout=function() {MyMar=setInterval(Marquee1,speed)};

var speed2=40;
var tabLeft2=document.getElementById("demoLeft2");
var tab21=document.getElementById("demo21");
var tab22=document.getElementById("demo22");
tab22.innerHTML=tab21.innerHTML;
function Marquee21(){
if(tabLeft2.scrollLeft>=tab22.offsetWidth)
tabLeft2.scrollLeft-=tab21.offsetWidth
else{
tabLeft2.scrollLeft++;
}
}
var MyMar2=setInterval(Marquee21,speed2);
tabLeft2.onmouseover=function() {clearInterval(MyMar2)};
tabLeft2.onmouseout=function() {MyMar2=setInterval(Marquee21,speed2)};
